<div class="productPromotions form">
    <?php echo $this->Form->create('ProductPromotion'); ?>
    <fieldset>
        <legend><?php echo __('Edit Product Promotion'); ?></legend>
        <?php
        echo $this->Form->input('id');
//        echo $this->Form->input('shop_id', array('label' => 'Punto de Venta'));
        echo $this->Form->input('product_id');
        echo $this->Form->input('promotion_id');
        echo $this->Form->input('quantity');
        ?>
    </fieldset>
    <?php echo $this->Form->end(__('Guardar')); ?>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>

        <li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('ProductPromotion.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('ProductPromotion.id'))); ?></li>
        <li><?php echo $this->Html->link(__('List Product Promotions'), array('action' => 'index')); ?></li>
        <li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Promotions'), array('controller' => 'promotions', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Promotion'), array('controller' => 'promotions', 'action' => 'add')); ?> </li>
    </ul>
</div>
